<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<%= "post_info_list.html" %>
<table>
  <tr>
    <th>user_id</th>
    <th>post_address</th>
    <th>addressee</th>
    <th>postalcode</th>
  </tr>

<% for post_info in @post_infos %>
  <tr>
    <td><%=h post_info.user_id %></td>
    <td><%=h post_info.post_address %></td>
    <td><%=h post_info.addressee %></td>
    <td><%=h post_info.postalcode %></td>
    <td><%= link_to '修改',{:controller=>"manage_user",:action=>"post_info_edit",:id=>post_info.id} %></td>
    <td><%= link_to '删除',{:controller=>"manage_user",:action=>"post_info_destroy",:id=>post_info.id} %></td>
  </tr>
<% end %>
</table>